import request from "@/utils/request";

// 查询采购单列表
export function listShoppingOrder(query) {
  return request({
    url: "/cancel/shoppingOrder/list",
    method: "get",
    params: query,
  });
}

//采购单下的商品列表
export function goodsList(query) {
  return request({
    url: "/cancel/shoppingOrder/goodsList",
    method: "get",
    params: query,
  });
}
//支付
export function changeBuyStatus(data) {
  return request({
    url: "/cancel/shoppingOrder/isBuyStatus",
    method: "put",
    data,
  });
}
